<?php 
    $categories = $this->getCategory();
?>
<div class="row_5">
    <div class="container_24">
        <div class="grid_24 ">
            <div class="boxes_footer">
                <div class="Footer_BoxWrapper"> 
                    <h4 class="Footer_BoxHeading">Main Menu</h4> 
                    <ul> 
                        <li class="act first">
                            <a href="<?php echo Yii::app()->getBaseUrl();?>">Trang chủ</a>
                        </li> 
                        <?php 
                            if($categories){
                                foreach($categories as $key=>$value){
                                    ?>
                                    <li>
                                        <a href="<?php echo $this->createUrl('/site/list', array('id' => $value->id))?>"><span><?php echo $value['name'];?></span></a>
                                    </li>
                        <?php
                                }
                            }
                        ?>
                        <li class="last">
                            <a href="<?php echo $this->createUrl('/site/contact') ?>">Liên hệ</a>
                        </li> 
                    </ul>
                </div> 
                <div class="footer">
                    <p><a href="<?php echo Yii::app()->getBaseUrl(); ?>">Shop Bé Yêu:</a>&nbsp; Gắn kết gia đình</p></br>
                    <p>Địa chỉ: Số 1 Lưu Xá - Đức Giang - Hoài Đức - Hà Nội</p></br>
                    <p>Điện thoại: 04.3990.3734</p></br>
                    <p>Website: <a href="<?php echo Yii::app()->request->getBaseUrl(true);?>">beyeu01.com</a></p></br>
                </div>
            </div>
        </div>
        <script type="text/javascript">
            $('.productListTable tr:nth-child(even)').addClass('alt');
        </script>

    </div>
</div>